@charset "utf-8";
.number1-items{
    width: 100px;
    height: 300px;
    position: relative;
    z-index: 100;
    text-align: center;
    line-height: 50px;
}
 .number1-items li{
        width: 100px;
        height: 50px;
        list-style: none;
        position: absolute;
        left: 0;
        top: 0;
        background: skyblue;
    }
    
    li:nth-of-type(1){
        z-index: 7;
    }
    li:nth-of-type(2){
        z-index: 6;
    }
    li:nth-of-type(3){
        z-index: 5;
    }
    
    li:nth-of-type(4){
        z-index: 4;
    }
    
    li:nth-of-type(5){
        z-index: 3;
    }
    li:nth-of-type(6){
        z-index: 2;
    }
  
    
  
    .number1-items:hover>li:nth-of-type(2){
        animation: slidedownAndRotate2 400ms ease-in-out 150ms forwards;
    }
    .number1-items:hover>li:nth-of-type(3){
        animation: slidedownAndRotate3 500ms ease-in-out 150ms forwards;
    }
    .number1-items:hover>li:nth-of-type(4){
        animation: slidedownAndRotate4 600ms ease-in-out 150ms forwards;
    }
    .number1-items:hover>li:nth-of-type(5){
        animation: slidedownAndRotate5 700ms ease-in-out 150ms forwards;
    }
    .number1-items:hover>li:nth-of-type(6){
        animation: slidedownAndRotate6 800ms ease-in-out 150ms forwards;
    }


@keyframes slidedownAndRotate2{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-180deg);
	}
	50%{
       top: 50px; 
       opacity: 1;
       transform: rotateX(-60deg);
	}
	100%{
		top: 50px; 
		opacity: 1;
       transform: rotateX(0deg);
	}
}

@keyframes slidedownAndRotate3{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-180deg);
	}
	50%{
       top: 100px; 
       opacity: 1;
       transform: rotateX(-60deg);
	}
	100%{
		top: 100px; 
		opacity: 1;
       transform: rotateX(0deg);
	}
}


@keyframes slidedownAndRotate4{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-180deg);
	}
	50%{
       top: 150px;
       opacity: 1; 
       transform: rotateX(-60deg);
	}
	100%{
		top: 150px; 
		opacity: 1;
       transform: rotateX(0deg);
	}
}

@keyframes slidedownAndRotate5{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-180deg);
	}
	50%{
       top: 200px; 
       opacity: 1;
       transform: rotateX(-60deg);
	}
	100%{
		top: 200px;
		opacity: 1; 
       transform: rotateX(0deg);
	}
}

@keyframes slidedownAndRotate6{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-180deg);
	}
	50%{
       top: 250px; 
       opacity: 1;
       transform: rotateX(-60deg);
	}
	100%{
		top: 250px; 
		opacity: 1;
       transform: rotateX(0deg);
	}
}



.number2-items{
    width: 100px;
    height: 300px;
    position: relative;
    z-index: 100;
    text-align: center;
    line-height: 50px;
}

.number2-items li{
    width: 100px;
    height: 50px;
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    background: deeppink;
}

.number2-items:hover>li:nth-of-type(2){
        animation: slidedownAndScale2 400ms ease-in-out 150ms forwards;
}
.number2-items:hover>li:nth-of-type(3){
        animation: slidedownAndScale3 500ms ease-in-out 150ms forwards;
}
.number2-items:hover>li:nth-of-type(4){
        animation: slidedownAndScale4 600ms ease-in-out 150ms forwards;
}
.number2-items:hover>li:nth-of-type(5){
        animation: slidedownAndScale5 700ms ease-in-out 150ms forwards;
}
.number2-items:hover>li:nth-of-type(6){
        animation: slidedownAndScale6 800ms ease-in-out 150ms forwards;
}



@keyframes slidedownAndScale2{
    0%{
      top: 0px;
      opacity: 0;
      transform: translateY(-100%) scale(0.3);
	}
	50%{
       top: 50px; 
       opacity: 0.8;
       transform: translateY(0) scale(0.3);
	}
	100%{
		top: 50px; 
		opacity: 1;
         transform: translateY(0) scale(1);
	}
}

@keyframes slidedownAndScale3{
    0%{
      top: 0px;
      opacity: 0;
       transform: translateY(-100%) scale(0.3);
	}
	50%{
       top: 100px; 
       opacity: 0.8;
        transform: translateY(0) scale(0.3);
	}
	100%{
		top: 100px; 
		opacity: 1;
         transform: translateY(0) scale(1);
	}
}

@keyframes slidedownAndScale4{
    0%{
      top: 0px;
      opacity: 0;
      transform: translateY(-100%) scale(0.3);
	}
	50%{
       top: 150px; 
       opacity: 0.8;
        transform: translateY(0) scale(0.3);
	}
	100%{
		top: 150px; 
		opacity: 1;
         transform: translateY(0) scale(1);
	}
}

@keyframes slidedownAndScale5{
    0%{
      top: 0px;
      opacity: 0;
      transform: translateY(-100%) scale(0.3);
	}
	50%{
       top: 200px; 
       opacity: 0.8;
       transform: translateY(0) scale(0.3);
	}
	100%{
		top: 200px; 
		opacity: 1;
        transform: translateY(0) scale(1);
	}
}

@keyframes slidedownAndScale6{
    0%{
      top: 0px;
      opacity: 0;
      transform: translateY(-100%) scale(0.3);
	}
	50%{
       top: 250px; 
       opacity: 0.8;
       transform: translateY(0) scale(0.3);
	}
	100%{
		top: 250px; 
		opacity: 1;
        transform: translateY(0) scale(1);
	}
}

.number3-items{
    width: 100px;
    height: 300px;
    position: relative;
    z-index: 100;
    text-align: center;
    line-height: 50px;
}
.number3-items li{
    width: 100px;
    height: 50px;
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    background: springgreen;
}

.number3-items:hover>li:nth-of-type(2){
        animation: slidedownAndRotateZ2 400ms ease-in-out 150ms forwards;
        transform-origin: top center;
}
.number3-items:hover>li:nth-of-type(3){
        animation: slidedownAndRotateZ3 500ms ease-in-out 150ms forwards;
        transform-origin: top center;
}
.number3-items:hover>li:nth-of-type(4){
        animation: slidedownAndRotateZ4 600ms ease-in-out 150ms forwards;
        transform-origin: top center;
}
.number3-items:hover>li:nth-of-type(5){
        animation: slidedownAndRotateZ5 700ms ease-in-out 150ms forwards;
        transform-origin: top center;
}
.number3-items:hover>li:nth-of-type(6){
        animation: slidedownAndRotateZ6 800ms ease-in-out 150ms forwards;
        transform-origin: top center;
}

@keyframes slidedownAndRotateZ2{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateZ(-45deg) translateX(50%);
	}
	/*50%{
       top: 50px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 50px; 
		opacity: 1;
         transform: rotateZ(0deg) translateX(0);
	}
}

@keyframes slidedownAndRotateZ3{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateZ(-45deg) translateX(50%);
	}
	/*50%{
       top: 100px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 100px; 
		opacity: 1;
        transform: rotateZ(0deg) translateX(0);
	}
}

@keyframes slidedownAndRotateZ4{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateZ(-45deg) translateX(50%);
	}
	/*50%{
       top: 150px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 150px; 
		opacity: 1;
        transform: rotateZ(0deg) translateX(0);
	}
}

@keyframes slidedownAndRotateZ5{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateZ(-45deg) translateX(50%);
	}
	/*50%{
       top: 200px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 200px; 
		opacity: 1;
        transform: rotateZ(0deg) translateX(0);
	}
}

@keyframes slidedownAndRotateZ6{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateZ(-45deg) translateX(50%);
	}
	/*50%{
       top: 250px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 250px; 
		opacity: 1;
        transform: rotateZ(0deg) translateX(0);
	}
}




.number4-items{
    width: 100px;
    height: 300px;
    position: relative;
    z-index: 100;
    text-align: center;
    line-height: 50px;
}
.number4-items li{
    width: 100px;
    height: 50px;
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    background: yellowgreen;
    transform-origin: top center;
}

.number4-items:hover>li:nth-of-type(2){
        animation: slidedownAndRotate_XY2 400ms ease-in-out 150ms forwards;
}
.number4-items:hover>li:nth-of-type(3){
        animation: slidedownAndRotate_XY3 500ms ease-in-out 150ms forwards;
}
.number4-items:hover>li:nth-of-type(4){
        animation: slidedownAndRotate_XY4 600ms ease-in-out 150ms forwards;
}
.number4-items:hover>li:nth-of-type(5){
        animation: slidedownAndRotate_XY5 700ms ease-in-out 150ms forwards;
}
.number4-items:hover>li:nth-of-type(6){
        animation: slidedownAndRotate_XY6 800ms ease-in-out 150ms forwards;
}

@keyframes slidedownAndRotate_XY2{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-90deg) rotateY(-90deg);
	}
	/*50%{
       top: 50px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 50px; 
		opacity: 1;
         transform: rotateX(0) rotateY(0);
	}
}

@keyframes slidedownAndRotate_XY3{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-90deg) rotateY(-90deg);
	}
	/*50%{
       top: 100px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 100px; 
		opacity: 1;
        transform: rotateX(0) rotateY(0);
	}
}

@keyframes slidedownAndRotate_XY4{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-90deg) rotateY(-90deg);
	}
	/*50%{
       top: 150px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 150px; 
		opacity: 1;
        transform: rotateX(0) rotateY(0);
	}
}

@keyframes slidedownAndRotate_XY5{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-90deg) rotateY(-90deg);
	}
	/*50%{
       top: 200px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 200px; 
		opacity: 1;
        transform: rotateX(0) rotateY(0);
	}
}

@keyframes slidedownAndRotate_XY6{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateX(-90deg) rotateY(-90deg);
	}
	/*50%{
       top: 250px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 250px; 
		opacity: 1;
        transform: rotateX(0) rotateY(0);
	}
}

.number5-items{
    width: 100px;
    height: 300px;
    position: relative;
    z-index: 100;
    text-align: center;
    line-height: 50px;
}
.number5-items li{
    width: 100px;
    height: 50px;
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    background: orangered;
    transform-origin: right bottom;
}

.number5-items:hover>li:nth-of-type(2){
        animation: Rotate_Y2 400ms ease-in-out 150ms forwards;
}
.number5-items:hover>li:nth-of-type(3){
        animation: Rotate_Y3 500ms ease-in-out 150ms forwards;
}
.number5-items:hover>li:nth-of-type(4){
        animation: Rotate_Y4 600ms ease-in-out 150ms forwards;
}
.number5-items:hover>li:nth-of-type(5){
        animation: Rotate_Y5 700ms ease-in-out 150ms forwards;
}
.number5-items:hover>li:nth-of-type(6){
        animation: Rotate_Y6 800ms ease-in-out 150ms forwards;
}

@keyframes Rotate_Y2{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateY(-90deg);
	}
	/*50%{
       top: 50px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 50px; 
		opacity: 1;
         transform: rotateY(0);
	}
}

@keyframes Rotate_Y3{
    0%{
      top: 0px;
      opacity: 0;
      transform: rotateY(-90deg);
	}
	/*50%{
       top: 100px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 100px; 
		opacity: 1;
        transform: rotateY(0deg);
	}
}

@keyframes Rotate_Y4{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateY(90deg);
	}
	/*50%{
       top: 150px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 150px; 
		opacity: 1;
        transform: rotateY(0);
	}
}

@keyframes Rotate_Y5{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateY(90deg);
	}
	/*50%{
       top: 200px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 200px; 
		opacity: 1;
        transform: rotateY(0);
	}
}

@keyframes Rotate_Y6{
   0%{
      top: 0px;
      opacity: 0;
      transform: rotateY(90deg);
	}
	/*50%{
       top: 250px; 
       opacity: 0.8;
       transform: rotateY(20deg) translateX(25%);
	}*/
	100%{
		top: 250px; 
		opacity: 1;
        transform: rotateY(0);
	}
}